using RAG.Domain.Entities.App;

namespace RAG.Domain.Repositories;

public interface IDocumentRepository
{
    Task<Documents> CreateAsync(Documents document);
    Task<Documents?> GetByIdAsync(Guid id);
    Task<List<Documents>> GetAllAsync();
    Task<List<Documents>> GetByUserIdAsync(Guid userId);
    Task<Documents> UpdateAsync(Documents document);
    Task DeleteAsync(Guid id);
}
